package com.bwie.auth;

import com.bwie.common.config.RedisConfig;
import com.bwie.common.handler.GlobalExceptionHandler;
import com.bwie.common.redis.RedisCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie
 * @Project：Default (Template) Project
 * @name：${NAME}
 * @Date：2024/4/25 9:10
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@Import(value = {RedisConfig.class, RedisCache.class, GlobalExceptionHandler.class} )
@EnableFeignClients(
        "com.bwie"
)
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class,args);
    }
}
